#define _CRT_SECURE_NO_WARNINGS 1
#include "OpenHash.h"
namespace lnb
{
	template<class K>
	class unordered_set
	{
	public:
		struct KeyOfValue
		{
			const K& operator()(const K& k)
			{
				return k;
			}

		};
		typedef lnb::HashTable<K,K,KeyOfValue> HashTable;
		typedef typename HashTable::const_iterator iterator;
		typedef typename HashTable::const_iterator const_iterator;

		pair<iterator, bool> insert(const  K& k)
		{
			return _table.insert(k);
		}

		

		iterator begin()
		{
			return _table.begin();
		}
		iterator end()
		{
			return _table.end();
		}
		const_iterator begin()const
		{
			return _table.begin();
		}
		const_iterator end()const
		{
			return _table.end();
		}





	private:
		HashTable _table;
	};














};